<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%--
  Created by IntelliJ IDEA.
  User: 吕松涛
  Date: 2019/10/29
  Time: 19:58
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>accountList</title>
</head>
<body>
    <h3>There are all account:</h3>
    <table border="1px">
        <tr bgcolor="red">
            <td>username</td>
            <td>usermoney</td>
        </tr>
        <c:forEach items="${accountList}" var="account">
            <tr bgcolor="gray">
                <td>${account.username}</td>
                <td>${account.usermoney}</td>
            </tr>
        </c:forEach>

    </table>
</body>
</html>
